import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import router from './router' // 引入路由
import { createPinia } from 'pinia' // 引入pinia
import axios from 'axios' // 引入

// element-plus
/*import ElementPlus from 'element-plus'
import zhCn from 'element-plus/dist/locale/zh-cn.mjs'
import 'element-plus/dist/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'*/

const pinia = createPinia() // 创建pinia
const app = createApp(App)
app.config.globalProperties.$axios = axios;

/*app.use(ElementPlus, {
  locale: zhCn,
  size: 'large'
})*/
app.use(router) // 注册路由
app.use(pinia) // 注册pinia

app.mount('#app')
